<!DOCTYPE html>
<html class="loginHtml">
<head>
	<meta charset="utf-8">
	<title>微聊——为简化聊天而生</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../dist/css/layui.css">
	<link rel="stylesheet" href="./css/public.css">
	<style>
		.code {
			width: 400px;
			margin: 0 auto;
		}
		#canvas {
			float: right;
			display: inline-block;
			border: 1px solid #ccc;
			border-radius: 5px;
			cursor: pointer;
		}
	</style>
</head>
<body class="loginBody">
	<form class="layui-form">
		<div class="login_face"><img src="./img/face.jpg" class="userAvatar"></div>
		<div class="layui-form-item input-item">
			<label for="userName">账号</label>
			<input type="text" placeholder="请输入账号或者邮箱" autocomplete="off" id="userName" class="layui-input" lay-verify="required">
		</div>
		<div class="layui-form-item input-item">
			<label for="password">密码</label>
			<input type="password" placeholder="请输入密码" autocomplete="off" id="password" class="layui-input" lay-verify="required">
		</div>
		<div class="layui-form-item input-item" id="imgCode">
			<div style="width: 60%;float: left">
				<label for="code">验证码</label>
				<input type="text" placeholder="请输入验证码" autocomplete="off" id="code" class="layui-input">
			</div>

			<div style="width: 40%;float: right">
				<canvas id="canvas" width="100" height="38"></canvas>
			</div>
		</div>
		<div class="layui-form-item">
			<button class="layui-btn layui-block" lay-filter="login" lay-submit>登录</button>
		</div>
		<div>
			<div style="float: left"><a href="#">忘记密码</a></div>
			<div style="float: right"><a href="#">我要注册</a></div>
		</div>
	</form>
	<script type="text/javascript" src="../dist/layui.js"></script>
	<script type="text/javascript" src="./js/md5.js"></script>
	<script type="text/javascript" src="./js/login.js"></script>
</body>
</html>
